Part Number Hot Search : 
20M35V CY7C138 PE8210 GC2307 NX5501 20M35V 1040CT W1T1G
Product Description
Full Text Search
 

To Download HCS515 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2011 microchip technology inc. ds40183e-page 1 HCS515 features security ? encrypted storage of manufacturer?s code ? encrypted storage of encoder decryption keys ? up to seven transmitters can be learned code hopping technology ? normal and secure learning mechanisms operating ? 4.5v ? 5.5v operation ? internal oscillator ? auto bit rate detection other ? stand-alone decoder ? internal eeprom for transmitter storage ? synchronous serial interface ? 1 kbit user eeprom ? 14-pin dip/soic package typical applications ? automotive remote entry systems ? automotive alarm systems ? automotive immobilizers ? gate and garage openers ? electronic door locks ? identity tokens ? burglar alarm systems compatible encoders all encoders and transponders configured for the fol- lowing setting: ? pwm modulation format (1/3-2/3) ?t e in the range from 100 s to 400 s ? 10 x t e header ? 28-bit serial number ? 16-bit synchronization counter ? discrimination bits equal to serial number 8 lsbs ? 66- to 69-bit length code word. description the microchip technology inc. HCS515 is a code hop- ping decoder designed for secure remote keyless entry (rke) systems. the HCS515 utilizes the pat- ented code hopping system and high security learning mechanisms to make this a canned solution when used with the hcs encoders to implement a unidirectional remote and access control systems. the HCS515 can be used as a stand-alone decoder or in conjunction with a microcontroller. package type block diagram the manufacturer?s code, encoder decryption keys, and synchronization information are stored in encrypted form in intern al eeprom. the HCS515 uses the s_dat and s_clk inputs to communicate with a host controller device. the HCS515 operates over a wide voltage range of 4.5v ? 5.5v. the decoder employs automatic bit rate detection, which allows it to compensate for wide vari- HCS515 pdip, soic 1 2 3 4 nc nc v dd s1 nc nc vss rf_in 5 6 7 14 13 12 11 10 9 8 s0 mclr nc s_clk s_dat nc reception register internal control decryptor rfin oscillator s_dat s_clk mclr eeprom ee_dat ee_clk s0 s1 k ee l oq ? code hopping decoder
HCS515 ds40183e-page 2 ? 2011 microchip technology inc. ations in transmitter data rate. the decoder contains sophisticated error checking algorithms to ensure only valid codes are accepted. 1.0 system overview key terms the following is a list of key terms used throughout this data sheet. for additional information on k ee l oq ? and code hopping, refer to technical brief 3 (tb003). ? rke - remote keyless entry ? button status - indicates what button input(s) activated the transmission. encompasses the 4 button status bits s3, s2, s1 and s0 (figure 7-2). ? code hopping - a method by which a code, viewed externally to the system, appears to change unpredictably each time it is transmitted. ? code word - a block of data that is repeatedly transmitted upon button activation (figure 7-1). ? transmission - a data stream consisting of repeating code words (figure 7-1). ? crypt key - a unique and secret 64-bit number used to encrypt and decrypt data. in a symmetri- cal block cipher such as the k ee l oq algorithm, the encryption and decryption keys are equal and will therefore be referred to generally as the crypt key. ? encoder - a device that generates and encodes data. ? encryption algorithm - a recipe whereby data is scrambled using a crypt key. the data can only be interpreted by the respective decryption algorithm using the same crypt key. ? decoder - a device that decodes data received from an encoder. ? decryption algorithm - a recipe whereby data scrambled by an encryption algorithm can be unscrambled using the same crypt key. ? learn ? learning involves the receiver calculating the transmitter?s appropriate crypt key, decrypting the received hopping code and storing the serial number, synchronization counter value and crypt key in eeprom. the k ee l oq product family facil- itates several learning strategies to be imple- mented on the decoder. the following are examples of what can be done. - simple learning the receiver uses a fixed crypt key, common to all component s of all systems by the same manufacturer, to decrypt the received code word?s encrypted portion. - normal learning the receiver uses information transmitted during normal operation to derive the crypt key and decrypt the received code word?s encrypted portion. - secure learn the transmitter is activated through a special button combination to tr ansmit a stored 60-bit seed value used to ge nerate the transmitter?s crypt key. the receiver uses this seed value to derive the same crypt key and decrypt the received code word?s encrypted portion. ? manufacturer?s code ? a unique and secret 64- bit number used to generate unique encoder crypt keys. each encoder is programmed with a crypt key that is a function of the manufacturer?s code. each decoder is programmed with the manufac- turer code itself. 1.1 hcs encoder overview the hcs encoders have a small eeprom array which must be loaded with seve ral parameters before use. the most important of these values are: ? a crypt key that is generated at the time of pro- duction ? a 16-bit synchronization counter value ? a 28-bit serial number which is meant to be unique for every encoder the manufacturer programs the serial number for each encoder at the time of pro duction, while the ?key gen- eration algorithm? generates the crypt key (figure 1-1). inputs to the key generation al gorithm typically consist of the encoder?s serial number and a 64-bit manufac- turer?s code, which the manufacturer creates. note: the manufacturer code is a pivotal part of the system?s overall security. conse- quently, all possible precautions must be taken and maintained for this code.
? 2011 microchip technology inc. ds40183e-page 3 HCS515 figure 1-1: creation and storage of crypt key during production the 16-bit synchronization c ounter is the basis behind the transmitted code word changing for each transmis- sion; it increments each time a button is pressed. due to the code hopping algorithm?s complexity, each incre- ment of the synchronization value results in greater than 50% of the bits changing in the transmitted code word. figure 1-2 shows how the key values in eeprom are used in the encoder. once the encoder detects a button press, it reads the button inputs and updates the syn- chronization counter. the synchronization counter and crypt key are input to the encryption algorithm and the output is 32 bits of encrypt ed information. this data will change with every button press, its value appearing externally to ?randomly hop around?, hence it is referred to as the hopping portion of the code word. the 32-bit hopping code is combined with the button information and serial number to form the code word transmitted to the receiver. the code word format is explained in greater detail in section 7.2. a receiver may use any type of controller as a decoder, but it is typically a microcontroller with compatible firm- ware that allows the decoder to operate in conjunction with an HCS515 based transmitter. section 3.0 provides detail on integrating the HCS515 into a sys- tem. a transmitter must first be ?learned? by the receiver before its use is allow ed in the system. learning includes calculating the transmitter?s appropriate crypt key, decrypting the received hopping code and storing the serial number, synchronization counter value and crypt key in eeprom. in normal operation, each received message of valid format is evaluated. the serial number is used to deter- mine if it is from a learned transmitter. if from a learned transmitter, the message is decrypted and the synchro- nization counter is verified. finally, the button status is checked to see what operation is requested. figure 1-3 shows the relationship between some of the values stored by the receiver and the values received from the transmitter. figure 1-2: building the transmitted code word (encoder) transmitter manufacturer?s serial number code crypt key key generation algorithm serial number crypt key sync counter . . . HCS515 production programmer eeprom array button press information eeprom array 32 bits encrypted data serial number transmitted information crypt key sync counter serial number k ee l oq ? encryption algorithm
HCS515 ds40183e-page 4 ? 2011 microchip technology inc. figure 1-3: basic operation of receiver (decoder) note: circled numbers indicate the order of execution. 2.0 pin assignment button press information eeprom array manufacturer code 32 bits of encrypted data serial number received information decrypted synchronization counter check for match sync counter serial number k ee l oq ? decryption algorithm 1 3 4 check for match 2 perform function indicated by button press 5 crypt key pin decoder function i/o (1) buffer type (1) description 1 nc ? ? no connection 2 nc ? ? no connection 3v dd ? ? power connection 4 s1 o ttl s1 function output 5 s0 o ttl s0 function output 6mclr i st master clear input 7 nc ? ? no connection 8 nc ? ? no connection 9 s_dat i/o ttl synchronous data from controller 10 s_clk i ttl synchronous clock from controller 11 rf_in i ttl input from rf receiver 12 gnd ? ? ground connection 13 nc ? ? no connection 14 nc ? ? no connection note: p = power, i = in, o = out, and st = schmitt trigger input.
? 2011 microchip technology inc. ds40183e-page 5 HCS515 3.0 decoder operation 3.1 learning a transmitter to a receiver (normal or secure learn) before the transmitter and receiver can work together, the receiver must first ?learn? and store the following information from the transmitter in eeprom: ? a check value of the serial number ? the encoder decryption key ? the current synchronization counter value the decoder must also store the manufacturer?s code (section 1.1) in protected memory. this code will typically be the same for all of the decoders in a sys- tem. the HCS515 has seven memory slots, and, conse- quently, can store up to seven transmitters. during the learn procedure, the decoder searches for an empty memory slot for storing the transmitter?s information. when all of the memory slots are full, the decoder will overwrite the last transmitter?s information. to erase all of the memory slots at once, use the erase_all command (c3h). 3.1.1 learning procedure learning is initiated by sending the activate_learn (d2h) command to the decoder. the decoder acknowledges reception of the command by pulling the data line high. for the HCS515 decoder to learn a new transmitter, the following sequence is required: 1. activate the transmitter once. 2. activate the transmitter a second time. (in secure learning mode, the seed transmission must be transmitted during the second stage of learn by activating t he appropriate buttons on the transmitter.) 3. the HCS515 will transmit a learn-status string, indicating that the learn was successful. 4. the decoder has now learned the transmitter. 5. repeat steps 1-3 to learn up to seven transmitters note 1: learning will be terminated if two nonsequential codes were received or if two acceptable codes were not decoded within 30 seconds. 2: if more than seven transmitters are learned, the new transmitter will replace the last transmitter learned. it is, therefore, not possible to erase lost transmitters by repeatedly learning new transmitters. to remove lost or stolen transmitters, erase_all transmitters and relearn all available transmitters. 3: learning a transmitter with an encoder decryption key that is identical to a transmitter already in memory replaces the existing transmitter. in practice, this means that all transmit- ters should have unique encoder decryption keys. learning a previously learned transmitter does not use any additional memory slots. the following checks are performed by the decoder to determine if the transmission is valid during learn: ? the first code word is checked for bit integrity. ? the second code word is checked for bit integrity. ? the encoder decryption key is generated accord- ing to the selected algorithm. ? the hopping code is decrypted. ? the discrimination value is checked. ? if all the checks pass, the key, serial number check value, and synchronization counter values are stored in eeprom memory. figure 3-1 shows a flow chart of the learn sequence. figure 3-1: learn sequence enter learn mode wait for reception of second compare discrimination value with serial number use generated key to decrypt equal? sync. counter value encoder decryption key exit learn successful store: learn unsuccessful no yes wait for reception of a valid code non-repeated valid code generate key from serial number/ seed value serial number check value
HCS515 ds40183e-page 6 ? 2011 microchip technology inc. 3.2 validation of codes the decoder waits for a tr ansmission and checks the serial number to determine if it is a learned transmitter. if it is, it takes the code hop ping portion of the transmis- sion and decrypts it, using the encoder decryption key. it uses the discrimination value to determine if the decryption was valid. if everything up to this point is valid, the synchronization counter value is evaluated. 3.3 validation steps validation consists of the following steps: 1. search eeprom to find the serial number check value match 2. decrypt the hopping code 3. compare the 10 bits of the discrimination value with the lower 10 bits of serial number 4. check if the synchronization counter value falls within the first synch ronization window. 5. check if the synchronization counter value falls within the second synchronization window. 6. if a valid transmission is found, update the synchronization counter, else use the next transmitter block, and repeat the tests. figure 3-2: decoder operation transmission received? does ser # check val match? decrypt transmission is decryption valid? is counter within 16? is counter within 16k? update counter execute command save counter in temp location start no no no no yes yes yes yes yes no and
? 2011 microchip technology inc. ds40183e-page 7 HCS515 3.4 synchronization with decoder (evaluating the counter) the k ee l oq technology patent scope includes a sophisticated synchronizati on technique that does not require the calculation and st orage of future codes. the technique securely blocks invalid transmissions while providing transparent resynchronization to transmitters inadvertently activated aw ay from the receiver. figure 3-3 shows a 3-partition, rotating synchronization window. the size of each window is optional but the technique is fundamental. each time a transmission is authenticated, the intended function is executed and the transmission's synchronization counter value is stored in eeprom. from th e currently stored counter value there is an initial "single operation" forward win- dow of 16 codes. if the difference between a received synchronization counter and the last stored counter is within 16, the intended function will be executed on the single button press and the new synchronization coun- ter will be stored. storing the new synchronization counter value effectively rota tes the entire synchroniza- tion window. a "double operation" (resynchronization) window fur- ther exists from the sing le operation window up to 32k codes forward of the currently stored counter value. it is referred to as "double operation" because a trans- mission with synchronization c ounter value in this win- dow will require an additional, sequential counter transmission prior to executing the intended function. upon receiving the sequential transmission the decoder executes the intend ed function and stores the synchronization counter valu e. this resynchronization occurs transparently to the user as it is human nature to press the button a second ti me if the first was unsuc- cessful. the third window is a "blocked window" ranging from the double operation window to the currently stored synchronization counter value. any transmission with synchronization counter value within this window will be ignored. this window excludes previously used, perhaps code-grabbed transmissions from accessing the system. figure 3-3: synchronization window blocked entire window rotates to eliminate use of previously used codes single operation window window (32k codes) (16 codes) double operation (resynchronization) window (32k codes) stored synchronization counter value
HCS515 ds40183e-page 8 ? 2011 microchip technology inc. 4.0 interfacing to a microcontroller the HCS515 interfaces to a microcontroller via a syn- chronous serial interface. a clock and data line are used to communicate with the HCS515. the microcon- troller controls the clock line. there are two groups of data transfer messages. the first is from the decoder whenever the decoder receives a valid transmission. the decoder signals reception of a valid code by taking the data line high (maximum of 500 ms) the microcon- troller then services the request by clocking out a data string from the decoder. the data string contains the function code, the status bit, and block indicators. the second is from the controlling microcontroller to the decoder in the form of a defined command set. figure 4-1 shows the HCS515 decoder and the i/o interface lines necessary to interface to a microcon- troller. 4.1 valid transmission message the decoder informs the microcontroller of a valid transmission by taking the data line high for up to 500 ms. the controlling microcontroller must acknowl- edge by taking the clock line high. the decoder then takes the data line low. the microcontroller can then begin clocking a data stream out of the HCS515. the data stream consists of: ? start bit ? 0 ?. ? 2 status bits [ repeat , vlow ]. ? 4-bit function code [ s3 s2 s1 s0 ]. ?stop bit ? 1 ?. ? 4 bits indicating the number of transmitters learned into the decoder [ cnt3?cnt0 ]. ? 4 bits indicating which block was used [ tx3?tx0 ]. ? 64 bits of the received transmission with the hop- ping code decrypted. note: data is always clo cked in/out least significant bit (lsb) first. the decoder will terminate the transmission of the data stream at any point where t he clock is kept low for lon- ger than 1 ms. therefore, the microcontroller can only clock out the required bits. a maximum of 80 bits can be clocked out of the decoder. figure 4-1: HCS515 decoder and i/o interface lines figure 4-2: decoder valid transmission message nc nc v dd s1 rf data sync clock sync data s0 output HCS515 s0 mclr nc nc nc v ss rf_in s_clk s_dat nc 1 2 3 4 5 6 78 9 10 11 12 13 14 v cc x x x micro reset s1 output x x x decoder signal valid t clkh t ds ab cii t act t dhi t cla received string ci s_dat tx0 tx3 rx63 rept v low s0 s1 s2 s3 cnt0 cnt3 0 rx0 rx1 rx62 1 s_clk information t ack t clkh t clkl transmission
? 2011 microchip technology inc. ds40183e-page 9 HCS515 4.2 command mode 4.2.1 microcontro ller command mode activation the microcontroller command consists of four parts. the first part activates the command mode, the sec- ond part is the actual comm and, the third is the address accessed, and the fourth part is the data. the micro- controller starts the command by taking the clock line high for up to 500 ms. the decoder acknowledges the start-up sequence by taking the data line high. the microcontroller takes the clock line low, after which the decoder will take the data line low, tri-state the data line and wait for the command to be clocked in. the data must be set up on the rising edge and will be sampled on the falling edge of the clock line. 4.2.2 collision detection the HCS515 uses collision detection to prevent clashes between the decoder and microcontroller. whenever the decoder receives a valid transmission the following sequence is followed: ? the decoder first checks to see if the clock line is high. if the clock line is high, the valid transmis- sion notification is aborted, and the microcon- troller command mode request is serviced. ? the decoder takes the data line high and checks that the clock line doesn?t go high within 50 s. if the clock line goes high, the valid transmission notification is aborted and the command mode request is serviced. ? if the clock line goes high after 50 s but before 500 ms, the decoder will acknowledge by taking the data line low. ? the microcontroller can then start to clock out the 80-bit data stream of the received transmission. figure 4-3: microcontroll er command mode activation msb a command byte start command t clkl t clkh t ds bc lsb t start t cmd d t data e address byte d ata byte t addr t req t resp clk c data msb lsb msb lsb t ack HCS515 data
HCS515 ds40183e-page 10 ? 2011 microchip technology inc. 4.2.3 command activation times the command activation time (table 4-1) is defined as the maximum time the microcont roller has to wait for a response from the decoder. the decoder will abort and service the command request. the response time depends on the state of the decoder when the com- mand mode is requested. table 4-1: command activation times 4.2.4 decoder commands the command byte specifies the operation required by the controlling microcontroller. table 4-2 lists the com- mands. table 4-2: decoder commands decoder state min max while receiving transmissions ? 2.5 ms bpwmax = 2.7 ms during the validation of a received transmission ? 3 ms during the update of the sync counters ? 40 ms during learn ? 170 ms instruction command byte operation read f0 hex read a byte from user eeprom write e1 hex write a byte to user eeprom activate_lrn d2 hex activate a learn sequence on the decoder erase_all c3 hex activate an erase all function on the decoder program b4 hex program manufacturer?s code and configuration byte
? 2011 microchip technology inc. ds40183e-page 11 HCS515 4.2.5 read byte/ s from user eeprom the read command (figure 4-4) is used to read bytes from the user eeprom. the offset in the user eeprom is specified by the address byte, which is truncated to 7 bits (c to d). after the address, a dummy byte must be clocked in (d to e). the eeprom data byte is clocked out on the next rising edge of the clock line with the least significant bit first (e to f). sequen- tial reads are possible by repeating sequence e to f within 1 ms after the falling edge of the previous byte?s most significant bit (msb). during the sequential read, the address value will wrap after 128 bytes. the decoder will terminate the read command if no clock pulses are received for a period longer than 1.2 ms. 4.2.6 write byte/s to user eeprom the write command (figure 4-5) is used to write a loca- tion in the user eeprom. the address byte is trun- cated to seven bits (c to d). the data is clocked in least significant bit (lsb) first. the clock line must be asserted to initiate the write. sequential writes of bytes are possible by clocking in the byte and then asserting the clock line (d ? f). the decoder will terminate the write command if no clock pulses are received for a period longer than 1.2 ms after a successful write sequence, the decoder will acknowledge by taking the data line high and keeping it high until the clock line goes low. figure 4-4: read bytes from user eeprom figure 4-5: write bytes to user eeprom decoder data msb a command byte start command bc lsb d t rd e address byte dummy byte clk c data f data byte msb lsb msb lsb msb lsb t rd decoder data msb a command byte start command bc lsb d t wr e address byte data byte clk c data f acknowledge msb lsb msb lsb t ack t resp t ack 2
HCS515 ds40183e-page 12 ? 2011 microchip technology inc. 4.2.7 erase all the erase all command (figure 4-6) erases all the transmitters in the decoder. after the command and two dummy bytes are clocked in, the clock line must be asserted to activate the command. after a successful completion of an erase all command, the data line is asserted until the clock line goes low. figure 4-6: erase all 4.2.8 activate learn the activate learn command (figure 4-7) is used to activate a transmitter learning sequence on the decoder. the command consists of a command mode activation sequence, a command byte, and two dummy bytes. the decoder will respond by taking the data line high to acknowledge that the command was valid and that learn is active. upon reception of the first transmission, the decoder will respond with a learn status message (figure 4-8). during learn, the decoder will acknowledge the recep- tion of the first transmission by taking the data line high for 60 ms. the controlling microcontroller can clock out at most 8 bits, which will all be zeros. all of the bits of the status byte are zero, and this is used to distinguish between a learn time-out status string and the first transmission received string. the controlling microcon- troller must ensure that the clock line does not go high 60 ms after the falling edge of the data line, for this will terminate learn. upon reception of the second transmission, the decoder will respond with a learn status message (figure 4-9). the learn status message after the second transmis- sion consists of the following: ? 1 start bit. ? the function code [ s3:s0 ] of the message is zero, indicating that this is a status string. ? the result bit indicates the result of the learn sequence. the result bit is set if successful and cleared otherwise. ? the ovr bit will indicate whether an exiting trans- mitter is over written. the ovr bit will be set if an existing transmitter is learned over. ?the [ cnt3?cnt0 ] bits will indicate the number of transmitters learned on the decoder. ?the [ tx3?tx0 ] bits indicate the block number used during the learning of the transmitter. figure 4-7: learn mode activation decoder data msb a command byte start command bc lsb d t era e subcommand byte dummy byte clk c data f acknowledge msb lsb msb lsb t ack t resp t ack 2 ecoder data msb a command byte start command bc lsb d t lrn e dummy byte dummy byte clk c data f acknowledge msb lsb msb lsb t ack t resp t ack 2
? 2011 microchip technology inc. ds40183e-page 13 HCS515 figure 4-8: learn status message after first transmission figure 4-9: learn status messa ge after second transmission 4.3 stand-alone mode the HCS515 decoder can also be used in stand-alone applications. the HCS515 will activate the data line for up to 500 ms if a valid transmission was received, and this output can be used to drive a relay circuit. to acti- vate learn or erase all commands, a button must be connected to the clk input. user feedback is indicated on an led connected to the s_dat output line. if the clk line is pulled high, using the learn button, the led will switch on. after the clk line is kept high for longer than 2 seconds, the decoder will switch the led line off, indicating that learn will be entered if the button is released. if the clk line is kept high for another 6 sec- onds, the decoder will activate an erase_all com- mand. learn mode can be aborted by taking the clock line high until the data line goes high (led switches on). during learn, the data line will give feedback to the user and, therefore, must not be connected to the relay drive circuitry. note: the repeat bit must be cleared in the configuration byte in stand-alone mode. after taking the clock low and before a transmitter is learned, any low-to-high change on the clock line may terminate learn. this has learn implications when a switch with contact bounce is used. 4.4 erase all command and erase command the table 4-3 describes two versions of the erase all command. subcommand 01 can be used where a transmitter with permanent status is implemen ted in the microcontroller software. use of subcommand 01 ensures that the permanent transmitter remains in memory even when all other transmitters are erased. the first transmitter learned after any of the following events is the first transmitter in memory and becomes the permanent transmitter: 1. programming of the manufacturer?s code. 2. erasing of all transmitters (subcommand 00 only). command request t clkl t clkh t act ab t cll t dhi t cla t clh clk decoder 0 0 0 0 0 0 0 0 status byte c data communications request t clkl t clkh t act ab c ii t cll t dhi t cla t clh clk decoder tx0 tx3 rx63 ovr rslt 0 0 0 0 cnt0 cnt3 0 rx0 rx1 rx62 1 c i learn status bits decoded t x data table 4-3: erase all command command byte subcommand byte description c3 hex 00 hex erase all transmitters. c3 hex 01 hex erase all transmit- ters except 1. the first transmitter in memory is not erased.
HCS515 ds40183e-page 14 ? 2011 microchip technology inc. 4.5 test mode a special test mode is activated after: 1. programming of the manufacturer?s code. 2. erasing of all transmitters. test mode can be used to test a decoder before any transmitters are learned on it. test mode enables test- ing of decoders without spending the time to learn a transmitter. test mode is terminated after the first suc- cessful learning of an ordinary transmitter. in test mode, the decoder responds to a test transmitter. the test transmitter has the following properties: 1. encoder decryption key = manufacturer?s code. 2. serial number = any value. 3. discrimination bits = lower 10 bits of the serial number. 4. synchronization counter value = any value (synchronization information is ignored). because the synchronization counter value is ignored in test mode, any number of test transmitters can be used, even if their synchronization counter values are different. 4.6 power supply supervisor reliable operation of the HCS515 requires that the contents of the eeprom me mory be protected against erroneous writes. to ensur e that erroneous writes do not occur after supply voltage ?brown-out? conditions, the use of a proper power supply supervisor device is imperative (figure 4-11 and figure 9-2). figure 4-10: stand-alone mode learn/erase-all timing figure 4-11: typical stand-alone application circuit data a erase-all activation t req t lrn clk bc d learn activation t era successful e t lrn output0 relay spst v dd v dd learn npn led 10k v dd v i gnd rst mcp100-450 voltage supervisor nc nc v dd s1 s0 mclr nc nc nc v ss rf_in s_clk s_dat nc 1 2 3 4 5 6 78 9 10 11 12 13 14 x x x x x x 10k v dd 10k from rf receiver HCS515 output1 relay spst v dd npn 10k
? 2011 microchip technology inc. ds40183e-page 15 HCS515 5.0 decoder programming the memory is divided between system memory that stores the transmitter information (read protected) and user memory (read/write). commands to access the user memory are described in sections 4.2.5 and 4.2.6. the following in formation stored in system memory needs to be programmed before the decoder can be used: ? 64-bit manufacturer?s code ? decoder configuration byte note 1: these memory locations are read pro- tected and can only be written to using the program command with the device powered up. 2: the contents of the system memory is encrypted by a unique 64-bit key that is stored in the HCS515. to initialize the system memory, the HCS515?s program command must be used. 5.1 configuration byte the decoder is configured during initialization by set- ting the appropriate bits in the configuration byte. the following table list the options: 5.1.1 lrn_mode lrn_mode selects between two learning modes. with lrn_mode = 0 , the normal (serial number derived) mode is selected; with lrn_mode = 1 , the secure (seed derived) mode is selected. see section 6.0 for more detail on learning modes. 5.1.2 repeat the HCS515 can be configured to indicate repeated transmissions. in a stand-al one configurat ion, repeated transmissions must be disabled. bit mnemonic description 0 lrn_mode learning mode selection lrn_mode = 0 ? normal learn lrn_mode = 1 ? secure learn 1 not used reserved 2 repeat repeat transmission enable 0 = disable 1 = enabled 3 not used reserved 4 not used reserved 5 not used reserved 6 not used reserved 7 not used reserved
HCS515 ds40183e-page 16 ? 2011 microchip technology inc. 5.2 programming waveform the programming command consists of the following: ? command request sequence (a to b) ? command byte (b to c) ? configuration byte (c to d) ? manufacturer?s code eight data bytes (d to g) ? activation and acknowledge sequence (g to h) 5.3 programming data string a total of 80 bits are clocked into the decoder. the 8-bit command byte is clocked in first, followed by the 8-bit configuration byte and the 64-bit manufacturer?s code. the data must be clocked in least significant bit (lsb) first. the decoder will then encrypt the manufacturer?s code using the decoder?s unique 64-bit eeprom encoder decryption key. after completion of the pro- gramming eeprom, the decod er will acknowledge by taking the data line high (g to h). if the data line goes high within 30 ms after the clock goes high, program- ming also fails. figure 5-1: programming waveform msb a command byte start command t clkl t clkh t ds bc lsb t start t data d t data e configuration byte least significant byte t data t req t resp clk c data msb lsb msb lsb HCS515 data t data g most significant byte h t ack t wth acknowledge f t wtl lsb msb table 5-1: programming command symbol parameters sugg. value min. max. units t req command request time d.o.d. 0.005 500 ms t resp acknowledge time 100 10 1000 s t start command request to first command bit 100 20 1000 s t clkh clock high time 100 20 1000 s t clkl clock low time 100 20 1000 s t ds data hold time 50 14 1000 s t data command last bit to data first bit 100 10 1000 s t ack command acknowledge time d.o.d. 30 240 ms t wth acknowledge respond time 100 20 1000 s t wtl clock low to next command 100 10 ? s note: d.o.d. - depends on decoder status these parameters are characterized but not tested
? 2011 microchip technology inc. ds40183e-page 17 HCS515 6.0 key generation the HCS515 supports two learning schemes which are sele cted during the initialization of the system eeprom. the learning schemes are: ? normal learn using the k ee l oq decryption algorithm ? secure learn using the k ee l oq decryption algorithm 6.1 normal (serial number derived) learn using the decryption algorithm this learning scheme uses the k ee l oq decryption algorithm and the 28-bit serial number of the transmitter to derive the encoder decryption key. the 28-bit serial number is pa tched with predefined values as indicated below to form two 32-bit seeds. sourceh = 60000000 00000000h + serial number | 28 bits sourcel = 20000000 00000000h + serial number | 28 bits then, using the k ee l oq decryption algorithm and the manufacturer?s code the encoder decryption key is derived as follows: keyh upper 32 bits = f k ee l oq decryption (sourceh) | 64-bit manufacturer?s code keyl lower 32 bits = f k ee l oq decryption (sourcel) | 64-bit manufacturer?s code 6.2 secure (seed derived) learn using the decryption algorithm this scheme uses the secure seed transmitted by the encoder to derive the two input seeds. the decoder always uses the lower 64 bits of the transmission to form a 60-bit seed. the upper 4 bits are always forced to zero. for 32-bit seed encoders: sourceh = serial number lower 28 bits sourcel = seed 32 bits for 48-bit seed encoders: sourceh = seed upper 16 bits + serial number upper 16 bits (with upper 4 bits set to zero) << 16 sourcel = seed lower 32 bits for 60-bit seed encoders: sourceh = seed upper 28 bits with upper 4 bits set to zero sourcel = seed lower 32 bits the k ee l oq decryption algorithm and the manufacturer?s code is used to derive the encoder decryption key as follows: keyh upper 32 bits = decrypt (sourceh) 64-bit manufacturer?s code keyl lower 32 bits = decrypt (sourcel) 64-bit manufacturer?s code
HCS515 ds40183e-page 18 ? 2011 microchip technology inc. 7.0 encoders 7.1 transmission format (pwm) the encoder transmission is made up of several parts (figure 7-1). each transmission begins with a preamble and a header, followed by the encrypted and then the fixed data. the actual data is 66/69 bits, which consist of 32 bits of encrypt ed data and 34/37 bits of non-encrypted data. each transmission is followed by a guard period before another transmission can begin. the code hopping portion provides up to four billion changing code combinations and includes the button status bits (based on which buttons were activated), along with the synchronization counter value and some discrimination bits. the non-code hopping portion is comprised of the status bits, the function bits, and the 28-bit serial number. the encrypted and non-encrypted combined sections increase the number of combina- tions to 7.38 x 10 19 . 7.2 code word organization the hcs encoder transmits a 66/69-bit code word when a button is pressed. the 66/69-bit word is con- structed from a code hopping portion and a non-code hopping portion (figure 7-2). the encrypted data is generated from four button bits, two overflow counter bits, ten discrimination bits, and the 16-bit synchronization counter value. the non-encrypted data is made up from 2 status bits, 4 function bits, and the 28/32-bit serial number. figure 7-1: transmiss ion format (pwm) figure 7-2: code word organization logic "1" guard time 50% encrypted portion fixed code portion logic "0" preamble header t e t e t e 10xt e t bp repeat (1-bit) v low (1-bit) button status s2 s1 s0 s3 serial number (28 bits) button status s2 s1 s0 s3 ovr (2 bits) disc (10 bits) sync counter (16 bits) repeat (1-bit) v low (1-bit) button status 1 1 1 1 serial number (28 bits) seed (32 bits) 34 bits of fixed portion 32 bits of encrypted portion 66 data bits transmitted lsb first. lsb msb msb lsb seed replaces encrypted portion when all button inputs are activated at the same time.
? 2011 microchip technology inc. ds40183e-page 19 HCS515 8.0 development support the pic ? microcontrollers and dspic ? digital signal controllers are supported with a full range of software and hardware development tools: ? integrated development environment - mplab ? ide software ? compilers/assemblers/linkers - mplab c compiler for various device families - hi-tech c for various device families - mpasm tm assembler -mplink tm object linker/ mplib tm object librarian - mplab assembler/link er/librarian for various device families ? simulators - mplab sim software simulator ? emulators - mplab real ice? in-circuit emulator ? in-circuit debuggers - mplab icd 3 - pickit? 3 debug express ? device programmers - pickit? 2 programmer - mplab pm3 device programmer ? low-cost demonstratio n/development boards, evaluation kits, and starter kits 8.1 mplab integrated development environment software the mplab ide software brings an ease of software development previously unseen in the 8/16/32-bit microcontroller market. the mplab ide is a windows ? operating system-based app lication that contains: ? a single graphical interface to all debugging tools - simulator - programmer (sold separately) - in-circuit emulator (sold separately) - in-circuit debugger (sold separately) ? a full-featured editor with color-coded context ? a multiple project manager ? customizable data windows with direct edit of contents ? high-level source code debugging ? mouse over variable inspection ? drag and drop variables from source to watch windows ? extensive on-line help ? integration of select thir d party tools, such as iar c compilers the mplab ide allows you to: ? edit your source files (either c or assembly) ? one-touch compile or assemble, and download to emulator and simulator tools (automatically updates all project information) ? debug using: - source files (c or assembly) - mixed c and assembly - machine code mplab ide supports multiple debugging tools in a single development paradigm, from the cost-effective simulators, through low-cost in-circuit debuggers, to full-featured emulators. this eliminates the learning curve when upgrading to tools with increased flexibility and power.
HCS515 ds40183e-page 20 ? 2011 microchip technology inc. 8.2 mplab c compilers for various device families the mplab c compiler code development systems are complete ansi c compilers for microchip?s pic18, pic24 and pic32 families of microcontrollers and the dspic30 and dspic33 families of digital signal control- lers. these compilers provide powerful integration capabilities, superior code optimization and ease of use. for easy source level debugging, the compilers provide symbol information that is optimized to the mplab ide debugger. 8.3 hi-tech c for various device families the hi-tech c compiler code development systems are complete ansi c comp ilers for microchip?s pic family of microcontrollers and the dspic family of digital signal controllers. these compilers provide powerful integration capabilities, omniscient code generation and ease of use. for easy source level debugging, the compilers provide symbol information that is optimized to the mplab ide debugger. the compilers include a macro assembler, linker, pre- processor, and one-step driver, and can run on multiple platforms. 8.4 mpasm assembler the mpasm assembler is a full-featured, universal macro assembler for pic10/12/16/18 mcus. the mpasm assembler generates relocatable object files for the mplink object linker, intel ? standard hex files, map files to detail memory usage and symbol reference, absolute lst files that contain source lines and generated machine code and coff files for debugging. the mpasm assembler features include: ? integration into mplab ide projects ? user-defined macros to streamline assembly code ? conditional assembly for multi-purpose source files ? directives that allow complete control over the assembly process 8.5 mplink object linker/ mplib object librarian the mplink object linker combines relocatable objects created by the mpasm assembler and the mplab c18 c compiler. it can link relocatable objects from precompiled libraries, using directives from a linker script. the mplib object librarian manages the creation and modification of library files of precompiled code. when a routine from a library is called from a source file, only the modules that contain that routine will be linked in with the application. this allows large libraries to be used efficiently in many different applications. the object linker/libra ry features include: ? efficient linking of single libraries instead of many smaller files ? enhanced code maintainability by grouping related modules together ? flexible creation of libraries with easy module listing, replacement, deletion and extraction 8.6 mplab assembler, linker and librarian for various device families mplab assembler produces relocatable machine code from symbolic assembly language for pic24, pic32 and dspic devices. mplab c compiler uses the assembler to produce its object file. the assembler generates relocatable objec t files that can then be archived or linked with other relocatable object files and archives to create an execut able file. notable features of the assembler include: ? support for the entire device instruction set ? support for fixed-point and floating-point data ? command line interface ? rich directive set ? flexible macro language ? mplab ide compatibility
? 2011 microchip technology inc. ds40183e-page 21 HCS515 8.7 mplab sim software simulator the mplab sim software simulator allows code development in a pc-hosted environment by simulat- ing the pic ? mcus and dspic ? dscs on an instruction level. on any given instruction, the data areas can be examined or modified and stimuli can be applied from a comprehensive stimulus c ontroller. registers can be logged to files for further run-time analysis. the trace buffer and logic analyzer display extend the power of the simulator to record and track program execution, actions on i/o, most peripherals and internal registers. the mplab sim software simulator fully supports symbolic debugging using the mplab c compilers, and the mpasm and mplab assemblers. the soft- ware simulator offers the flexibility to develop and debug code outside of the hardware laboratory envi- ronment, making it an excellent, economical software development tool. 8.8 mplab real ice in-circuit emulator system mplab real ice in-circuit emulator system is microchip?s next generation high-speed emulator for microchip flash dsc and mcu devices. it debugs and programs pic ? flash mcus and dspic ? flash dscs with the easy-to-use, powerful graphical user interface of the mplab integrated devel opment environment (ide), included with each kit. the emulator is connected to the design engineer?s pc using a high-speed usb 2.0 interface and is connected to the target with either a connector compatible with in- circuit debugger systems (rj11) or with the new high- speed, noise tolerant, low-voltage differential signal (lvds) interconnection (cat5). the emulator is field upgradable through future firmware downloads in mplab ide. in upcoming releases of mplab ide, new devices will be supported, and new features will be added. mplab real ice offers significant advantages over competitive emulators including low-cost, full-speed emulation, run-time variable watches, trace analysis, complex breakpoints, a ruggedized probe interface and long (up to three meters) interconnection cables. 8.9 mplab icd 3 in-circuit debugger system mplab icd 3 in-circuit debugger system is micro- chip's most cost effective high-speed hardware debugger/programmer for microchip flash digital sig- nal controller (dsc) and microcontroller (mcu) devices. it debugs and programs pic ? flash microcon- trollers and dspic ? dscs with the powerful, yet easy- to-use graphical user interface of mplab integrated development environment (ide). the mplab icd 3 in-circuit debugger probe is con- nected to the design engineer's pc using a high-speed usb 2.0 interface and is connected to the target with a connector compatible with the mplab icd 2 or mplab real ice systems (rj-11). mplab icd 3 supports all mplab icd 2 headers. 8.10 pickit 3 in-circuit debugger/ programmer and pickit 3 debug express the mplab pickit 3 allows debugging and program- ming of pic ? and dspic ? flash microcontrollers at a most affordable price point using the powerful graphical user interface of the mp lab integrated development environment (ide). the mplab pickit 3 is connected to the design engineer's pc using a full speed usb interface and can be connec ted to the target via an microchip debug (rj-11) connector (compatible with mplab icd 3 and mplab real ice). the connector uses two device i/o pins and the reset line to imple- ment in-circuit debugging and in-circuit serial pro- gramming?. the pickit 3 debug express include the pickit 3, demo board and microcontroller, hookup cables and cdrom with user?s guide, lessons, tutorial, compiler and mplab ide software.
HCS515 ds40183e-page 22 ? 2011 microchip technology inc. 8.11 pickit 2 development programmer/debugger and pickit 2 debug express the pickit? 2 development programmer/debugger is a low-cost development tool with an easy to use inter- face for programming and debugging microchip?s flash families of microcontrollers. the full featured windows ? programming interface supports baseline (pic10f, pic12f5xx, pic16f5xx), midrange (pic12f6xx, pic16f), pic18f, pic24, dspic30, dspic33, and pic32 families of 8-bit, 16-bit, and 32-bit microcontrollers, and many microchip serial eeprom products. with microchip?s powerful mplab integrated development environmen t (ide) the pickit? 2 enables in-circuit debugging on most pic ? microcon- trollers. in-circuit-debugging runs, halts and single steps the program while the pic microcontroller is embedded in the applicatio n. when halted at a break- point, the file registers ca n be examined and modified. the pickit 2 debug express include the pickit 2, demo board and microcontroller, hookup cables and cdrom with user?s guide, lessons, tutorial, compiler and mplab ide software. 8.12 mplab pm3 device programmer the mplab pm3 device programmer is a universal, ce compliant device programmer with programmable voltage verification at v ddmin and v ddmax for maximum reliability. it features a large lcd display (128 x 64) for menus and error messages and a modu- lar, detachable socket asse mbly to support various package types. the icsp? ca ble assembly is included as a standard item. in stand-alone mode, the mplab pm3 device programmer can read, verify and program pic devices without a pc co nnection. it can also set code protection in this mode. the mplab pm3 connects to the host pc via an rs-232 or usb cable. the mplab pm3 has high-speed communications and optimized algorithms for quick programming of large memory devices and incorpor ates an mmc card for file storage and data applications. 8.13 demonstration/development boards, evaluation kits, and starter kits a wide variety of demonstr ation, development and evaluation boards for various pic mcus and dspic dscs allows quick application development on fully func- tional systems. most boards include prototyping areas for adding custom circuitry and provide application firmware and source code for examination and modification. the boards support a variety of features, including leds, temperature sensors, sw itches, speakers, rs-232 interfaces, lcd displays, potentiometers and additional eeprom memory. the demonstration and development boards can be used in teaching environments, for prototyping custom circuits and for learning about various microcontroller applications. in addition to the picdem? and dspicdem? demon- stration/development board series of circuits, microchip has a line of evaluation kits and demonstration software for analog filter design, k ee l oq ? security ics, can, irda ? , powersmart battery management, seeval ? evaluation system, sigma-delta adc, flow rate sensing, plus many more. also available are starter kits that contain everything needed to experience the specified device. this usually includes a single application and debug capability, all on one board. check the microchip web page (www.microchip.com) for the complete list of demonstration, development and evaluation kits.
? 2011 microchip technology inc. ds40183e-page 23 HCS515 9.0 electrical characteristics absolute maximum ratings ? ambient temperature under bias................................................................................................. ........... -40c to +125c storage temperature ............................................................................................................ .................. -65 c to +150c voltage on any pin with respect to v ss (except v dd )......................................................................... -0.6v to v dd +0.6v voltage on v dd with respect to vss ........................................................................................................... .......0 to +7.0v total power dissipation (note) .............................................................................................................................70 0 mw maximum current out of v ss pin ........................................................................................................................... 200 ma maximum current into v dd pin ........................................................................................................................... ...150 ma input clamp current, i ik (v i < 0 or v i > v dd ) ......................................................................................................... 20 ma output clamp current, iok (v o < 0 or v o >v dd ) .................................................................................................. 20 ma maximum output current sunk by any i/o pin............. ........................................................................ .....................25 ma maximum output current sourced by any i/o pin .......... ........................................................................ ..................25 ma note: power dissipation is calculated as follows: p dis = v dd x {i dd - i oh } + {(v dd ?v oh ) x i oh } + (v ol x i ol ) ? notice: stresses above those listed under ?absolute maximum ratings? may cause permanent damage to the device. this is a stress rating only and functional operation of the device at those or any other condi- tions above those indicated in the op eration listings of this specificat ion is not implied. exposure to maximum rating conditions for extended periods may affect device reliability.
HCS515 ds40183e-page 24 ? 2011 microchip technology inc. figure 9-1: reset watchdog timer, oscillator start-up timer and power-up timer timing table 9-1: dc characteristics standard operating conditions (unless otherwise stated) operating temperature commercial (c): 0c t a +70c industrial (i): -40c t a +85c symbol parameters min. typ. (?) max. units conditions v dd supply voltage 4.5 ? 5.5 v ? v por v dd start voltage to ensure reset ? vss ? v ? s vdd v dd rise rate to ensure reset 0.05* ? ? v/ms ? i dd supply current ? 1.8 2. ma f osc = 4 mhz, v dd = 5.5v i pd power-down current ? 10 50 av dd = 4.5v v il input low voltage v ss ?vmclr = .2 v dd v ss ?0.8 vv dd between 4.5v and 5.5v v ih input high voltage 0.25 v dd + 0.8 ? v dd vv dd between 4.5v and 5.5v v except mclr = 0.80 v dd v ol output low voltage ? ? 0.6 v i ol = 8.5 ma, v dd = 4.5v v oh output high voltage v dd - 0.7 ? ? v i oh = -3 ma, v dd = 4.5v ? data in ?typ? column is at 5.0v, 25 c unless otherwise stated. these parame ters are for design guidance only and are not tested. * these parameters are characterized but not tested. note: negative current is defined as coming out of the pin. table 9-2: ac characteristics standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. ty p. max. units conditions t e transmit elemental period 65 ? 660 s? t od output delay 48 75 237 ms ? t mclr mclr low time 150 ? ? ns ? t ov time output valid ? 150 222 ms ? note: these parameters are char acterized but not tested. v dd mclr i/o pins to v t mclr
? 2011 microchip technology inc. ds40183e-page 25 HCS515 9.1 ac electrical characteristics 9.1.1 valid transmi ssion notification standard operating conditions (unless otherwise specified) commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t dhi command request time 0.0050 ? 500 ms t cla micro request acknowledge time 0.0050 ? 1 ms t ack decoder acknowledge time ? ? 4 s t act start command mode to first command bit 20 ? 1200 s t clkh clock high time 20 ? 1000 s t clkl clock low time 20 ? 1000 s f clk clock frequency 500 ? 25000 hz t ds data hold time 14 ? 1000 s note: these parameters are char acterized but not tested. 9.1.2 command mode activation standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t req command request time 0.0050 ? 500 ms t resp microcontroller request acknowledge time ?? 1ms t ack decoder acknowledge time ? ? 4 s t start start command mode to first command bit 20 ? 1000 s t clkh clock high time 20 ? 1000 s t clkl clock low time 20 ? 1000 s f clk clock frequency 500 ? 25000 hz t ds data hold time 14 ? ? s t cmd command validate time ? ? 10 s t addr address validate time ? ? 10 s t data data validate time ? ? 10 s note: these parameters are char acterized but not tested. 9.1.3 read from user eeprom command standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t rd decoder eeprom read time 1000 ? 2000 s note: these parameters are char acterized but not tested.
HCS515 ds40183e-page 26 ? 2011 microchip technology inc. 9.1.4 write to user eeprom command standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t wr write command activation time 20 ? 1000 s t ack eeprom write acknowledge time ? ? 10 ms t resp microcontroller acknowledge response time 20 ? 1000 s t ack 2 decoder response acknowledge time ??10 s note: these parameters are char acterized but not tested. 9.1.5 erase all command standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t era learn command activation time 20 ? 1000 s t ack decoder acknowledge time 20 ? 210 ms t resp microcontroller acknowledge response time 20 ? 1000 s t ack 2 decoder data line low ? ? 10 s note: these parameters are char acterized but not tested. 9.1.6 activate learn command in micro mode standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70 c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t lrn learn command activation time 20 ? 1000 s t ack decoder acknowledge time ? ? 20 s t resp microcontroller acknowledge response time 20 ? 1000 s t ack 2 decoder data line low ? ? 10 s note: these parameters are char acterized but not tested. 9.1.7 activate learn command in stand-alone mode standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t req command request time ? ? 100 ms t lrn learn command activation time ? ? 2 s t era erase-all command activation time ? ? 6 s note: these parameters are char acterized but not tested.
? 2011 microchip technology inc. ds40183e-page 27 HCS515 figure 9-2: typical microco ntroller interface circuit 9.1.8 learn status string standard operating conditions (unless otherwise specified): commercial (c): 0c ta +70c industrial (i): -40c ta +85c symbol parameters min. typ. max. units t dhi command request time ? ? 500 ms t cla microcontroller command request time 0.005 ? 500 ms t act decoder request acknowledge time ? ? 10 s t clh clock high hold time 1.2 ms t cll clock low hold time 0.020 ? 1.2 ms t clkh clock high time 20 ? 1000 s t clkl clock low time 20 ? 1000 s f clk clock frequency 500 ? 25000 hz t ds data hold time ? ? 5 s note: these parameters are char acterized but not tested. v dd v i g n d v o mcp100-450 voltage supervisor nc nc v dd s1 s0 mclr nc nc nc v ss rf_in s_clk s_dat nc 1 2 3 4 5 6 78 9 10 11 12 13 14 x x x x x x x x v dd rf receiver microcontroller rst in-circuit programming probe pads 10k HCS515 clk dat
HCS515 ds40183e-page 28 ? 2011 microchip technology inc. 10.0 packaging information 10.1 package marking information legend: xx...x customer specific information* yy year code (last 2 digits of calendar year) ww week code (week of january 1 is week ?01?) nnn alphanumeric traceability code note : in the event the full microchip part numbe r cannot be marked on one line, it will be carried over to the next line thus limit ing the number of available characters for customer specific information. * standard otp marking consists of microchip part nu mber, year code, week code, and traceability code. for otp marking beyond this, certain price adders apply. please check with your microchip sales office. for qtp devices, any special marking adders are included in qtp price. xxxxxxxxxxxxxx xxxxxxxxxxxxxx yywwnnn 14-lead pdip example 14-lead soic example xxxxxxxxxxxxxx 0025nnn xxxxxxxxxxxxxx xxxxxxxxxxxxxx yywwnnn xxxxxxxxxxxxxx 0025nnn HCS515 HCS515
? 2011 microchip technology inc. ds40183e-page 29 HCS515 10.2 package details 
    
     

     !"#$%! & '(!%&! %(
%")% %  % "   *$%+  %  % , & 
 "-"

%!"&
"$ 

% ! 
 
"$ 

% ! 
  
%#".   "  & 
"%
   -/0 1+21 & 
 
%#%!
))%
!%%
     3
% &
%! % 4" ) '   % 
  4 $%

%"% %% 255)))&
  
&5 4 6% 7+8- & 
9&% 7 7: ; 7!&( 
$ 7  %  1+
%
%  < <  
""4 4  0 , 0 1 %
%  0 < < 
!" %

!" ="% -  , ,0 
""4="% -  0 > : 9%  ,0 0 0  %
% 9 0 , 0 9" 4  >  0 6  9"="% ( 0 ?  9
) 9"="% (  >  : 
) * 1 < < , n e1 d note 1 12 3 e c eb a2 l a a1 b1 be 
   

  ) +01
HCS515 ds40183e-page 30 ? 2011 microchip technology inc. note: for the most current package drawings, please see the microchip packaging specification located at http://www.microchip.com/packaging
? 2011 microchip technology inc. ds40183e-page 31 HCS515 note: for the most current package drawings, please see the microchip packaging specification located at http://www.microchip.com/packaging
HCS515 ds40183e-page 32 ? 2011 microchip technology inc.   3
% &
%! % 4" ) '   % 
  4 $%

%"% %% 255)))&
  
&5 4
? 2011 microchip technology inc. ds40183e-page 33 HCS515 appendix a: additional information microchip?s secure data products are covered by some or all of the following: code hopping encoder patents issued in european countries and u.s.a. secure learning patents issued in european countries, u.s.a. and r.s.a. revision history revision e (june 2011) ? updated the following sections: development sup- port, the microchip web site, reader response and HCS515 product id entification system ? added new section appendix a ? minor formatting and text changes were incorporated throughout the document
HCS515 ds40183e-page 34 ? 2011 microchip technology inc. the microchip web site microchip provides online support via our www site at www.microchip.com. this web site is used as a means to make files and information easily available to customers. accessible by using your favorite internet browser, the web site contains the following information: ? product support ? data sheets and errata, application notes and sample programs, design resources, user?s guides and hardware support documents, latest software releases and archived software ? general technical support ? frequently asked questions (faq), technical support requests, online discussion groups, microchip consultant program member listing ? business of microchip ? product selector and ordering guides, latest microchip press releases, listing of seminars and events, listings of microchip sales offices, distributors and factory representatives customer change notification service microchip?s customer notification service helps keep customers current on microchip products. subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or de velopment tool of interest. to register, access the microchip web site at www.microchip.com. under ?support?, click on ?customer change notification? and follow the registration instructions. customer support users of microchip products can receive assistance through several channels: ? distributor or representative ? local sales office ? field application engineer (fae) ? technical support ? development systems information line customers should contact their distributor, representative or field application engineer (fae) for support. local sales offices are also available to help customers. a listing of sa les offices and locations is included in the back of this document. technical support is available through the web site at: http://micro chip.com/support
? 2011 microchip technology inc. ds40183e-page 35 HCS515 reader response it is our intention to provide you with the best documentation possible to ensure successful use of your microchip product. if you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation can better serve you, please fax your comments to the technical publications manager at (480) 792-4150. please list the following information, and use this outli ne to provide us with your comments about this document. to: technical publications manager re: reader response total pages sent ________ from: name company address city / state / zip / country telephone: (_______) _________ - _________ application (optional): would you like a reply? y n device: literature number: questions: fax: (______) _________ - _________ ds40183e HCS515 1. what are the best features of this document? 2. how does this document meet your hardware and software development needs? 3. do you find the organization of this document easy to follow? if not, why? 4. what additions to the document do you th ink would enhance the structure and subject? 5. what deletions from the document could be made without affecting the overall usefulness? 6. is there any incorrect or misl eading information (what and where)? 7. how would you improve this document?
HCS515 ds40183e-page 36 ? 2011 microchip technology inc. HCS515 product iden tification system to order or obtain information, e.g., on pricing or deli very, refer to the factory or the listed sales office. package: p = plastic dip (300 mil body), 14-lead sl = plastic soic (150 mil body), 14-lead temperature blank = 0c to +70c range: i = ?40c to +85c device: HCS515 code hopping decoder HCS515t code hopping decoder (tape and reel) HCS515 ? /p
? 2011 microchip technology inc. ds40183e-page 37 information contained in this publication regarding device applications and the like is prov ided only for your convenience and may be superseded by updates. it is your responsibility to ensure that your application me ets with your specifications. microchip makes no representations or warranties of any kind whether express or implied, written or oral, statutory or otherwise, related to the information, including but not limited to its condition, quality, performance, merchantability or fitness for purpose . microchip disclaims all liability arising from this information and its use. use of microchip devices in life support and/or safe ty applications is entirely at the buyer?s risk, and the buyer agrees to defend, indemnify and hold harmless microchip from any and all damages, claims, suits, or expenses resulting fr om such use. no licenses are conveyed, implicitly or ot herwise, under any microchip intellectual property rights. trademarks the microchip name and logo, th e microchip logo, dspic, k ee l oq , k ee l oq logo, mplab, pic, picmicro, picstart, pic 32 logo, rfpic and uni/o are registered trademarks of microchip technology incorporated in the u.s.a. and other countries. filterlab, hampshire, hi-tech c, linear active thermistor, mxdev, mxlab, seeval and the embedded control solutions company are register ed trademarks of microchip technology incorporated in the u.s.a. analog-for-the-digital age, a pplication maestro, codeguard, dspicdem, dspicdem.net, dspicworks, dsspeak, ecan, economonitor, fansense, hi-tide, in-circuit serial programming, icsp, mindi, miwi, mpasm, mplab certified logo, mplib, mplink, mtouch, omniscient code generation, picc, picc-18, picdem, picdem.net, pickit, pictail, real ice, rflab, select mode, total endurance, tsharc, uniwindriver, wiperlock and zena are trademarks of microchip te chnology incorporated in the u.s.a. and other countries. sqtp is a service mark of mi crochip technology incorporated in the u.s.a. all other trademarks mentioned herein are property of their respective companies. ? 2011, microchip technology incorporated, printed in the u.s.a., all rights reserved. printed on recycled paper. isbn: 978-1-61341-227-5 note the following details of the code protection feature on microchip devices: ? microchip products meet the specification cont ained in their particular microchip data sheet. ? microchip believes that its family of products is one of the mo st secure families of its kind on the market today, when used i n the intended manner and under normal conditions. ? there are dishonest and possibly illegal meth ods used to breach the code protection fe ature. all of these methods, to our knowledge, require using the microchip pr oducts in a manner outside the operating specif ications contained in microchip?s data sheets. most likely, the person doing so is engaged in theft of intellectual property. ? microchip is willing to work with the customer who is concerned about the integrity of their code. ? neither microchip nor any other semiconduc tor manufacturer can guarantee the security of their code. code protection does not mean that we are guaranteeing the product as ?unbreakable.? code protection is constantly evolving. we at microchip are committed to continuously improving the code protection features of our products. attempts to break microchip?s c ode protection feature may be a violation of the digital millennium copyright act. if such acts allow unauthorized access to your softwa re or other copyrighted work, you may have a right to sue for relief under that act. microchip received iso/ts-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona; gresham, oregon and design centers in california and india. the company?s quality system processes and procedures are for its pic ? mcus and dspic ? dscs, k ee l oq ? code hopping devices, serial eeproms, microperi pherals, nonvolatile memory and analog products. in addition, microchip?s quality system for the design and manufacture of development systems is iso 9001:2000 certified.
ds40183e-page 38 ? 2011 microchip technology inc. americas corporate office 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7200 fax: 480-792-7277 technical support: http://www.microchip.com/ support web address: www.microchip.com atlanta duluth, ga tel: 678-957-9614 fax: 678-957-1455 boston westborough, ma tel: 774-760-0087 fax: 774-760-0088 chicago itasca, il tel: 630-285-0071 fax: 630-285-0075 cleveland independence, oh tel: 216-447-0464 fax: 216-447-0643 dallas addison, tx tel: 972-818-7423 fax: 972-818-2924 detroit farmington hills, mi tel: 248-538-2250 fax: 248-538-2260 indianapolis noblesville, in tel: 317-773-8323 fax: 317-773-5453 los angeles mission viejo, ca tel: 949-462-9523 fax: 949-462-9608 santa clara santa clara, ca tel: 408-961-6444 fax: 408-961-6445 toronto mississauga, ontario, canada tel: 905-673-0699 fax: 905-673-6509 asia/pacific asia pacific office suites 3707-14, 37th floor tower 6, the gateway harbour city, kowloon hong kong tel: 852-2401-1200 fax: 852-2401-3431 australia - sydney tel: 61-2-9868-6733 fax: 61-2-9868-6755 china - beijing tel: 86-10-8569-7000 fax: 86-10-8528-2104 china - chengdu tel: 86-28-8665-5511 fax: 86-28-8665-7889 china - chongqing tel: 86-23-8980-9588 fax: 86-23-8980-9500 china - hangzhou tel: 86-571-2819-3180 fax: 86-571-2819-3189 china - hong kong sar tel: 852-2401-1200 fax: 852-2401-3431 china - nanjing tel: 86-25-8473-2460 fax: 86-25-8473-2470 china - qingdao tel: 86-532-8502-7355 fax: 86-532-8502-7205 china - shanghai tel: 86-21-5407-5533 fax: 86-21-5407-5066 china - shenyang tel: 86-24-2334-2829 fax: 86-24-2334-2393 china - shenzhen tel: 86-755-8203-2660 fax: 86-755-8203-1760 china - wuhan tel: 86-27-5980-5300 fax: 86-27-5980-5118 china - xian tel: 86-29-8833-7252 fax: 86-29-8833-7256 china - xiamen tel: 86-592-2388138 fax: 86-592-2388130 china - zhuhai tel: 86-756-3210040 fax: 86-756-3210049 asia/pacific india - bangalore tel: 91-80-3090-4444 fax: 91-80-3090-4123 india - new delhi tel: 91-11-4160-8631 fax: 91-11-4160-8632 india - pune tel: 91-20-2566-1512 fax: 91-20-2566-1513 japan - yokohama tel: 81-45-471- 6166 fax: 81-45-471-6122 korea - daegu tel: 82-53-744-4301 fax: 82-53-744-4302 korea - seoul tel: 82-2-554-7200 fax: 82-2-558-5932 or 82-2-558-5934 malaysia - kuala lumpur tel: 60-3-6201-9857 fax: 60-3-6201-9859 malaysia - penang tel: 60-4-227-8870 fax: 60-4-227-4068 philippines - manila tel: 63-2-634-9065 fax: 63-2-634-9069 singapore tel: 65-6334-8870 fax: 65-6334-8850 taiwan - hsin chu tel: 886-3-6578-300 fax: 886-3-6578-370 taiwan - kaohsiung tel: 886-7-213-7830 fax: 886-7-330-9305 taiwan - taipei tel: 886-2-2500-6610 fax: 886-2-2508-0102 thailand - bangkok tel: 66-2-694-1351 fax: 66-2-694-1350 europe austria - wels tel: 43-7242-2244-39 fax: 43-7242-2244-393 denmark - copenhagen tel: 45-4450-2828 fax: 45-4485-2829 france - paris tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany - munich tel: 49-89-627-144-0 fax: 49-89-627-144-44 italy - milan tel: 39-0331-742611 fax: 39-0331-466781 netherlands - drunen tel: 31-416-690399 fax: 31-416-690340 spain - madrid tel: 34-91-708-08-90 fax: 34-91-708-08-91 uk - wokingham tel: 44-118-921-5869 fax: 44-118-921-5820 worldwide sales and service 05/02/11


▲Up To Search▲   

 
Price & Availability of HCS515

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X